﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Newtonsoft.Json;
using System.Collections.Generic;

namespace Tulde.WindowsPhone.Music.ViewModel
{
    [JsonObject()]
    public class Album
    {
        [JsonProperty("albumId")]
        public string AlbumId { get; set; }
        [JsonProperty("albumTitle")]
        public string AlbumTitle { get; set; }
        [JsonProperty("artistId")]
        public string ArtistId { get; set; }
        [JsonProperty("artistName")]
        public string ArtistName { get; set; }
        [JsonProperty("trackCount")]
        public string TrackCount { get; set; }
        [JsonProperty("albumSize")]
        public long? AlbumSize { get; set; }
        [JsonProperty("hasArt")]
        public int? HasArt { get; set; }
        [JsonProperty("albumArtURL")]
        public string AlbumArtUrl { get; set; }

        public Album()
        {

        }
    }
    [JsonObject()]
    public class AlbumResult
    {
        [JsonProperty("summary")]
        public Summary Summary { get; set; }

        [JsonProperty("albumList")]
        public List<Album> Albums { get; set; }
    }
 
}
